package com.techsoul.module.goods.pojo.param;

import com.techsoul.common.core.pojo.param.BaseSearchParam;
import com.techsoul.module.goods.pojo.vo.SkuVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 商品 查询参数
 * 
 * @author liuen
 * @date 2020-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SpuSearchParam extends BaseSearchParam {

    @ApiModelProperty("SPU名称")
    private String spuName;

    @ApiModelProperty("货号")
    private String sn;

    @ApiModelProperty("商品供应商名称")
    private String  supplierName;
    @ApiModelProperty("商品供应商编码")
    private String  supplierNo;
    @ApiModelProperty("skus")
    private List<SkuVo> skuList;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("basic_id")
    private String basicId;
    @ApiModelProperty("品牌ID")
    private String brandId;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("分类ID")
    private String categoryId;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("单价")
    private Double price;

    @ApiModelProperty("单价-开始")
    private Double priceBegin;

    @ApiModelProperty("单价-结束")
    private Double priceEnd;

    @ApiModelProperty("批发价")
    private Double wholesalePrice;

    @ApiModelProperty("批发价-开始")
    private Double wholesalePriceBegin;

    @ApiModelProperty("批发价-结束")
    private Double wholesalePriceEnd;

    @ApiModelProperty("库存")
    private Integer stock;

    @ApiModelProperty("大于等于库存")
    private Integer gteStock;

    @ApiModelProperty("预警库存")
    private Integer warningStock;

    @ApiModelProperty("物流类型")
    private String deliveryType;

    @ApiModelProperty("备货状态")
    private String stockStatus;

    @ApiModelProperty("销售状态")
    private String salesStatus;

    @ApiModelProperty("规格参数模板ID")
    private String specParamTemplateId;

    @ApiModelProperty("运费模板id")
    private String freightTemplateId;

    @ApiModelProperty("规格列表")
    private String specs;

    @ApiModelProperty("参数列表")
    private String params;

    @ApiModelProperty("图片")
    private String image;

    @ApiModelProperty("图片列表")
    private String images;

    @ApiModelProperty("型号")
    private String model;

    @ApiModelProperty("介绍")
    private String introduction;

    @ApiModelProperty("售后服务")
    private String saleService;

    @ApiModelProperty("销量")
    private Long saleQty;

    @ApiModelProperty("评论数")
    private Long commentQty;

    @ApiModelProperty("是否上架")
    private String isMarketable;

    @ApiModelProperty("是否启用规格")
    private String isEnableSpec;

    @ApiModelProperty("所属商户ID")
    private String storeId;

    @ApiModelProperty("SPU状态")
    private String status;
    @ApiModelProperty("域")
    private String site;
    @ApiModelProperty("客户SPU号")
    private String custSpuNo;
}
